<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>售水机</title>
		<meta name="keywords"  content="KEYWORDS..." />
		<meta name="description" content="DESCRIPTION..." />
		<meta name="author" content="DeathGhost" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name='apple-touch-fullscreen' content='yes'>
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta name="format-detection" content="address=no">
		<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
		<link rel="stylesheet" type="text/css" href="../css/style.css"/>
		<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			.none{display:none;}
		</style>
	</head>
	<body style="background:#f6f6f6;">
		<div class="content">
			<header class="page-header1">
				<a href="javascript:;" onClick="javascript:history.back(-1);"><img src="../img/icon_left.png" class="back_img" style="float:left;"/></a>
				<h3>设备编辑</h3>
			</header>
			<div class="equiment_revise">
				<div class="equiment_revise_list">
					<div class="equiment_revise_lists">
						<div class="equiment_revise_list_left equiment_revise_id">设备ID</div>
						<div class="equiment_revise_list_right equiment_revise_id_inp">
							<input type="text" name="equiment_revise_id_inps" value="" placeholder="1432" class="equiment_revise_id_inps"/>
						</div>
					</div>
					
					<div class="equiment_revise_lists">
						<div class="equiment_revise_list_left equiment_revise_name">备注名称</div>
						<div class="equiment_revise_list_right equiment_revise_name_inp">
							<input type="text" name="equiment_revise_name_inps" value="" placeholder="请输入名称" class="equiment_revise_name_inps"/>
						</div>
					</div>
					
					<div class="equiment_revise_lists pop_ascription">
						<div class="equiment_revise_list_left equiment_revise_ascription">设备下级归属</div>
						<div class="equiment_revise_list_right equiment_revise_ascription_inp" style="width:60%;">
							<input type="text" name="equiment_revise_ascription_inps" value="" placeholder="请输入名称" class="equiment_revise_ascription_inps son"/>
						</div>
						<div class="equiment_revise_list_img">
							<img src="../img/icon_bottom.png" style="width:50%;"/>
						</div>
					</div>
					
		
			<div class="ascription_details none">
				<div class="ascription_list">
					<div class="ascription_list_left">
						<div class="timecar-radio">
							<label for="timecar" onselectstart="return false" class="">
								<input type="radio" name="time" id="timecar1" value='1'/>
							</label>
						</div>
					</div>
					<div class="ascription_list_center">测测试试322222222222</div>
				</div>
				<div class="ascription_list">
					<div class="ascription_list_left">
						<div class="timecar-radio">
							<label for="timecar" onselectstart="return false" class="timecar-radioed">
								<input type="radio" name="time" id="timecar1" value='1'/>
							</label>
						</div>
					</div>
					<div class="ascription_list_center">测测试试2</div>
				</div>
				
				<div class="ascription_list">
					<div class="ascription_list_left">
						<div class="timecar-radio">
							<label for="timecar" onselectstart="return false" class="timecar-radioed">
								<input type="radio" name="time" id="timecar1" value='1'/>
							</label>
						</div>
					</div>
					<div class="ascription_list_center">测测试试1</div>
				</div>
				
				<div class="ascription_list">
					<div class="ascription_list_left">
						<div class="timecar-radio">
							<label for="timecar" onselectstart="return false" class="timecar-radioed">
								<input type="radio" name="time" id="timecar1" value='1'/>
							</label>
						</div>
					</div>
					<div class="ascription_list_center">测测试试4</div>
				</div>
				
			</div>
					
					
				</div>
			</div>
			
			<div class="equipment_btn_keep">
				<button type="button" class="btn_keep">保存</button>
			</div>
			<div style="clear: both;"></div>
		</div>
		
		
	</body>
	<script type="text/javascript">
		$('.equiment_revise_list_img').on('click',function(e){
			
			if($('.ascription_details').css('display') == 'block'){
				$('.ascription_details').hide();
			}else{
				$('.ascription_details').show();
			}
		    
		    
		})
	</script>
	<script type="text/javascript">
		$(".timecar-radio label").on('touchstart',function(){
			if($(this).hasClass('timecar-radioed')){
				$(".timecar-radio label").addClass("timecar-radioed");
				$(this).removeClass("timecar-radioed");
			}
		})
	</script>
	<script type="text/javascript">
		$(".timecar-radio label").click(function(){
			var content = $(this).parent().parent().parent().find('.ascription_list_center').html();
		    	$('.son').val(content);
		$('.ascription_details').hide();
		});
		
		
	</script>
</html>
